package com.ruoyi.classai.service;

import com.ruoyi.classai.domain.EwcHomework;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.classai.domain.dto.PublicIdQueryInterfaceDto;
import com.ruoyi.classai.domain.vo.homework.HomeWorkAnalysisVo;
import com.ruoyi.classai.domain.vo.homework.HomeWorkSubStudentVo;
import com.ruoyi.classai.domain.vo.homework.HomeWorkVo;
import com.ruoyi.common.core.web.domain.AjaxResult;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 课后作业Service接口
 * 
 * @author lcj
 * @date 2025-02-28
 */
public interface IEwcHomeworkService extends IService<EwcHomework> {
     EwcHomework ewcHomework=new EwcHomework();
    AjaxResult add(PublicIdQueryInterfaceDto publicIdQueryInterfaceDto);

     List<HomeWorkVo> getHomeWorkList(String className, String homeworkType, String deadlineStart, String deadlineEnd);

    HomeWorkVo getHomeWorkInfo(@NotBlank(message = "作业唯一标识不能为空") String homeworkId, @NotBlank(message = "班级唯一标识不能为空") String classId);

    List<HomeWorkSubStudentVo> getHomeWorkSubStudentList(@NotBlank(message = "作业唯一标识不能为空") String homeworkId, @NotBlank(message = "班级唯一标识不能为空") String classId);

    HomeWorkAnalysisVo getHomeWorkAnalysisInfo(@NotBlank(message = "作业唯一标识不能为空") String homeworkId, @NotBlank(message = "学生唯一标识不能为空") String studentId);

    List<HomeWorkSubStudentVo> getSubStudentHomeWorkList(@NotBlank(message = "作业唯一标识不能为空") String homeworkId, @NotBlank(message = "班级唯一标识不能为空") String classId, String studentName, String homeworkFlag);
}
